#ifndef EEROM_24CXX_H
#define EEROM_24CXX_H

#undef EXT
#ifdef EEROM_24CXX_C
#define EXT
#else
#define EXT extern
#endif

#define M2401  0
#define M2402  1
#define M2404  2
#define M2408  3
#define M2416  4
#define M2432  5
#define M2464  6
#define M24128 7
#define M24256 8
#define M24512 9

#define M2401_SIZE 128
#define M2402_SIZE 256
#define M2404_SIZE 512
#define M2408_SIZE 1024
#define M24016_SIZE 2048
#define M24032_SIZE 4096
#define M24064_SIZE 8192
#define M240128_SIZE 16384
#define M240256_SIZE 32768
#define M240512_SIZE 65536
    
INT8U  Write_EEPROM(INT8U VirtualID,INT8U SlvAdr,INT16U SubAddr,INT16U size,INT8U Type,INT8U *Src);
INT8U  Read_EEPROM(INT8U VirtualID,INT8U SlvAdr,INT16U SubAddr,INT8U Type,INT16U size,INT8U *Dst);    
#endif





